<?php
/**
 * Author Yulin
 * Email  dwzhanglong@126.com
 * Date   2016-6-22
 * Func   
 */
defined('IN_YuLin') || exit('NO PERMIT!');

$pid = intval($_GET['pid']);

$data = $db->getall('SELECT id,name FROM '.Table('web_region').' WHERE pid = '.$pid);

echo json_encode($data);

?>